/*
 * BSM6.0
 *
 * Copyright 2012-2013 (C) SINODATA CO., LTD. All Rights Reserved.
 */
package com.sinodata.bsm.inmp.util;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * Description: 
 * </p>
 *
 * @author wangyazhou
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * 2013-6-13 上午10:34:17          wangyazhou        1.0         To create
 * </p>
 *
 * @since 
 * @see     
 */
public class InmpEvent implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    private Date createTime; //创建时间
    private Date modTime; //修改时间
    private String preSeverity; //之前级别
    private String severity; //现在级别
    private String message; //消息
    private String source; //事件来源 -->到具体设备
    private String entity; //事件实体 -->到具体端口
    private String eventType; //事件类别
    private String alarmcode;

    private String category;
    private String id; //事件id

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModTime() {
        return modTime;
    }

    public void setModTime(Date modTime) {
        this.modTime = modTime;
    }

    public String getPreSeverity() {
        return preSeverity;
    }

    public void setPreSeverity(String preSeverity) {
        this.preSeverity = preSeverity;
    }

    public String getSeverity() {
        return severity;
    }

    public void setSeverity(String severity) {
        this.severity = severity;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getEntity() {
        return entity;
    }

    public void setEntity(String entity) {
        this.entity = entity;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public String getAlarmcode() {
        return alarmcode;
    }

    public void setAlarmcode(String alarmcode) {
        this.alarmcode = alarmcode;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    @Override
    public String toString() {
        return "InmpEvent [createTime=" + createTime + ", modTime=" + modTime + ", preSeverity=" + preSeverity + ", severity=" + severity + ", message=" + message + ", source=" + source + ", entity=" + entity + ", eventType=" + eventType + ", alarmcode=" + alarmcode + ", category=" + category + ", id=" + id + "]";
    }

}
